/**
 * SimpleSkipList.java
 * @author: liuex
 * 2008-3-9 ����11:17:49
 *
 * note: 
 */
package org.lex.tf;

public class SimpleSkipList<T> implements SkipList<T>
{
	private T[] array = null;

	public SimpleSkipList( T[] array )
	{
		this.array = array;
	}

	@Override
	public T get( int index )
	{
		return array[index];
	}

	@Override
	public int size()
	{
		return array.length;
	}

	@Override
	public T[] toArray()
	{
		return array;
	}
}